import { reactive } from "vue";
import loginStore from "@/stores/login";
import { IUseForm } from "./types";
const useLogin = loginStore();
useLogin.getLoginInfos();
const useForm = useLogin.form;
if (useForm.autoLogin) {
  useLogin.login();
}
export default function getUserInfo() {
  return {
    useLogin,
    useForm,
  };
}
